
#ifndef SWITCHRAILDATA_H
#define SWITCHRAILDATA_H

#include "Arduino.h"

class SwitchRailData {  
  public:
    SwitchRailData(byte id, int switchPort, int ledPort);  // Constructor
    /* Methodes */
    byte getId();
    int getSwitchPort();
    int getLEDPort();
    //
    static const int minSwitchPort = 22;
    static const int maxSwitchPort = 53;
    static const int minLedPort = 0;
    static const int maxLedPort = 53;
  
  private:
    /* Attributs */
    byte m_id;
    int m_switchPort;
    int m_ledPort;

};

#endif /* SWITCHRAILDATA_H */

